package org.example.bean;

import java.util.List;

public class RoomBean {

    /**编号*/
    private String roomID;
    /**地址*/
    private String roomAddress;
    /**可住人数*/
    private Integer roomCanNum;
    /**已住人数*/
    private Integer roomInNum;
    /**房间状态*/
    private String roomStatus = "正常";
    /**房间类型*/
    private String roomGender;
    /**入住学生*/
    private List<StudentBean> roomStudents;

    public RoomBean() {
    }

    public RoomBean(String roomAddress, Integer roomCanNum, String roomGender) {
        this.roomAddress = roomAddress;
        this.roomCanNum = roomCanNum;
        this.roomGender = roomGender;
    }

    @Override
    public String toString() {
        return "\nRoomBean{" +
                "roomID='" + roomID + '\'' +
                ", roomAddress='" + roomAddress + '\'' +
                ", roomCanNum=" + roomCanNum +
                ", roomInNum=" + roomInNum +
                ", roomStatus='" + roomStatus + '\'' +
                ", roomGender='" + roomGender + '\'' +
                ", roomStudents=" + roomStudents +
                '}';
    }

    public String getRoomID() {
        return roomID;
    }

    public void setRoomID(String roomID) {
        this.roomID = roomID;
    }

    public String getRoomAddress() {
        return roomAddress;
    }

    public void setRoomAddress(String roomAddress) {
        this.roomAddress = roomAddress;
    }

    public Integer getRoomCanNum() {
        return roomCanNum;
    }

    public void setRoomCanNum(Integer roomCanNum) {
        this.roomCanNum = roomCanNum;
    }

    public Integer getRoomInNum() {
        return roomInNum;
    }

    public void setRoomInNum(Integer roomInNum) {
        this.roomInNum = roomInNum;
    }

    public String getRoomStatus() {
        return roomStatus;
    }

    public void setRoomStatus(String roomStatus) {
        this.roomStatus = roomStatus;
    }

    public String getRoomGender() {
        return roomGender;
    }

    public void setRoomGender(String roomGender) {
        this.roomGender = roomGender;
    }

    public List<StudentBean> getRoomStudents() {
        return roomStudents;
    }

    public void setRoomStudents(List<StudentBean> roomStudents) {
        this.roomStudents = roomStudents;
    }
}
